module ManagersHelper

  def image_for_admin_status(manager)
    if manager.admin?
      image_tag("star.gif", :alt => "Admin", :size => "16x16")
    end
  end

  def manager_owns_record?
    logged_in? && @manager.id == @current_manager.id
  end
end
